package com.cmc.cloud.cmclink.doc.api.document.req.si;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author 周贤
 * @date 2025/9/23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "edi 请求提单数据 基础 入参")
@Valid
public class BlnoEdiReqBaseDto {

    @Schema(description = "船舶代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "{BlnoEdiReqDto.vesselCode.NotNull}")
    private String vesselCode;

    @Schema(description = "出口航次号")
    private String voyageEx;

    @Schema(description = "进口航次号")
    private String voyageIm;

    @Schema(description = "装货港代码")
    private String polCode;

    @Schema(description = "卸货港代码")
    private String podCode;
}

